package com.kaba.bean.json;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @BelongsProject：st-project
 * @BelongsPackage：com.kaba.bean.json
 * @Author：pvz77
 * @CreateTime：2021-03-03 17:00
 * @Description： TODO
 *
 * com.kaba.bean.mongodb.Xiaou2session#session
 */
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Session {

    /**
     * cookie 信息
     */
    @JsonProperty("cookie")
    private Cookie cookie;

    /**
     * 管理员信息
     */
    @JsonProperty("admin")
    private Admin admin;


    public Cookie getCookie() { return cookie; }

    public void setCookie(Cookie value) { this.cookie = value; }

    public Admin getAdmin() { return admin; }

    public void setAdmin(Admin value) { this.admin = value; }
}
